package com.example.test.model;



/**
 * 该类定义了微博授权时所需要的参数。
 * 
 * @author SINA
 * @since 2013-09-29
 */
public interface Constants {

	public static final int MSG_DOWNIMG_SUCCESS      = 0;
	public static final int MSG_DOWNIMG_FAIL      = 1;
	public static final int MSG_GETTIMELINE_SUCCESS      = 2;
	public static final int MSG_GETTIMELINE_FAIL     = 3;
	public static final int MSG_REPOST_SUCCESS      = 4;
	public static final int MSG_REPOST_FAIL     = 5;
	public static final int MSG_COMMENT_SUCCESS      = 6;
	public static final int MSG_COMMENT_FAIL     = 7;
	public static final int MSG_GETUSERINFO_SUCCESS     = 8;
	public static final int MSG_GETUSERINFO_FAIL     = 9;
	public static final int MSG_GETFOLLOWLIST_SUCCESS     = 10;
	public static final int MSG_GETFOLLOWLIST_FAIL     = 11;
	public static final int MSG_CANCELFOLLOW_SUCCESS     = 12;
	public static final int MSG_CANCELFOLLOW_FAIL     = 13;
	public static final int MSG_GETFOLLOWERS_SUCCESS     = 14;
	public static final int MSG_GETFOLLOWERS_FAIL     = 15;
	public static final int MSG_GETCOMMENT_SUCCESS     = 16;
	public static final int MSG_GETCOMMENT_FAIL     = 17;
	public static final int MSG_DELETECOMMENT_SUCCESS     = 18;
	public static final int MSG_DELETECOMMENT_FAIL     = 19;
	public static final int MSG_GETONEWEIBO_SUCCESS     = 20;
	public static final int MSG_GETONEWEIBO_FAIL     = 21;
	public static final int MSG_GETCOMMENTLIST_SUCCESS     = 22;
	public static final int MSG_GETCOMMENTLIST_FAIL     = 23;
	public static final int MSG_GETREPOSTLIST_SUCCESS     = 24;
	public static final int MSG_GETREPOSTLIST_FAIL     = 25;
	public static final int MSG_DOWNSTATUSIMG_SUCCESS     = 26;
	public static final int MSG_DOWNSTATUSIMG_FAIL     = 27;
	public static final int MSG_FOLLOW_SUCCESS     = 28;
	public static final int MSG_FOLLOW_FAIL     = 29;
	//下面是QQ相应APP信息
	public static final String TXAPP_KEY = "1101343164";
	//下面是微信相应APP信息
	public static final String WXAPP_KEY = "wxd16a1b04206cf9c1";
	
	//下面为新浪相应app信息
	/** 当前 DEMO 应用的 APP_KEY，第三方应用应该使用自己的 APP_KEY 替换该 APP_KEY */
    public static final String APP_KEY      = "2881972774";

    /** 
     * 当前 DEMO 应用的回调页，第三方应用可以使用自己的回调页。
     * 
     * <p>
     * 注：关于授权回调页对移动客户端应用来说对用户是不可见的，所以定义为何种形式都将不影响，
     * 但是没有定义将无法使用 SDK 认证登录。
     * 建议使用默认回调页：https://api.weibo.com/oauth2/default.html
     * </p>
     */
    public static final String REDIRECT_URL = "https://api.weibo.com/oauth2/default.html";

    /**
     * Scope 是 OAuth2.0 授权机制中 authorize 接口的一个参数。通过 Scope，平台将开放更多的微博
     * 核心功能给开发者，同时也加强用户隐私保护，提升了用户体验，用户在新 OAuth2.0 授权页中有权利
     * 选择赋予应用的功能。
     * 
     * 我们通过新浪微博开放平台-->管理中心-->我的应用-->接口管理处，能看到我们目前已有哪些接口的
     * 使用权限，高级权限需要进行申请。
     * 
     * 目前 Scope 支持传入多个 Scope 权限，用逗号分隔。
     * 
     * 有关哪些 OpenAPI 需要权限申请，请查看：http://open.weibo.com/wiki/%E5%BE%AE%E5%8D%9AAPI
     * 关于 Scope 概念及注意事项，请查看：http://open.weibo.com/wiki/Scope
     */
    public static final String SCOPE = "all";
           /* "email,direct_messages_read,direct_messages_write,"
            + "friendships_groups_read,friendships_groups_write,statuses_to_me_read,"
            + "follow_app_official_microblog," + "invitation_write";*/
}
